﻿package com.ufenlei.LTS{

	public class Switch extends Input {
		public function Switch(isPaused:Boolean = false, isLocked:Boolean= false){
			super(isPaused, isLocked);
		}
		override protected function onClick():void{
			if(!value){
				this.select();
			}else{
				this.unselect();
			}
		}
		public function showSelect():void{
			value = true;
			showSelectedBlur();
		}
		public function showUnselect():void{
			value = false;
			showBlur();	
		}
	}
}